package com.myw.mail.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分类对象 t_category
 * 
 * @author myw
 * @date 2025-07-10
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_category")
@AllArgsConstructor
@NoArgsConstructor
public class Category extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 父分类ID */
    private Long parentId;

    /** 排序值 */
    @Excel(name = "排序值")
    private String sort;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private String isShow;

}
